package com.community.owner.domain;

import com.community.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class OwnerPersonnelRecord extends BaseEntity {
    private Long personnelId;
    private Integer communityId;
    private String name;
    private String phone;
    private String gateDevice;
    private String accessMethod; // "刷卡" 或 "人脸识别"
    private Date entryTime;
    private Date exitTime;
    private String photo;
    private Date createdTime;
    private Date updatedTime;
    /** 小区名称（关联查询字段） */
    private String communityName;
}
